﻿function copyValue() {
    //document.getElementById("ctl00_ContentPlaceHolder3_p_help_help_desc").value = document.getElementById("wysiwygfred").contentWindow.document.body.innerHTML;    
    //srivatsan
    document.getElementById("ctl00_ContentPlaceHolder3_p_help_help_desc").value = document.getElementById("wysiwygctl00_ContentPlaceHolder3_fred").contentWindow.document.body.innerHTML;
}

function GenerateControl() {
    try {
        if (window.location.href != "") {
            var strurl = window.location.href;
            if (strurl.indexOf("VMODE=1") > 0) {
                document.getElementById("wysiwygctl00_ContentPlaceHolder3_fred").style.display = "none";
            }
            else {
                generate_wysiwyg('ctl00_ContentPlaceHolder3_fred');
            }

        }
    }
    catch (ex) {
    }
}